Skip to content

Conversation

MasloMaslane
Copy link
Member

No description provided.

@MasloMaslane MasloMaslane requested a review from Copilot April 7, 2025 16:30
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 18 out of 18 changed files in this pull request and generated 1 comment.

Comments suppressed due to low confidence (1)

src/sinol_make/commands/chkwer/chkwer_util.py:62

  • [nitpick] Instead of comparing result.stderr to an empty string, consider checking its truthiness (e.g., 'if result.stderr:') to handle potential None values or unexpected types more gracefully.
if result.stderr != "":

Comment on lines 22 to +24
try:
with open(compile_log_path, "w") as compile_log:
compile.compile(file_path, output, compile_log=compile_log, use_fsanitize=use_fsanitize)
compile.compile(file_path, output, compile_log=compile_log, use_sanitizers=use_fsanitize)
Copy link
Preview

Copilot AI Apr 7, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The 'use_fsanitize' variable is a boolean, but the new 'use_sanitizers' parameter is expected to be a string (e.g., 'no', 'simple', or 'full'). Consider converting the boolean to an appropriate string value (for example, use 'simple' if True, and 'no' if False).

Copilot uses AI. Check for mistakes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant